package class202204._21_25;

import java.util.Arrays;

public class demo20220425 {
    public static void transform(int[] array){
        for (int i = 0; i < array.length; i++) {
            array[i]*=2;
        }
    }
    public static void main1(String[] args) {
        int[] array = new int[]{1,2,3};
        transform(array);
        System.out.println(Arrays.toString(array));
    }

    public static void main(String[] args) {
        int num = 1;
        while (num <=10){
            System.out.println(num);
            num++;
        }
    }
}
